<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ESP32VGA: FabGL::RGB Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP32VGA
   </div>
   <div id="projectbrief">ESP32 VGA Controller and Graphics Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>FabGL</b></li><li class="navelem"><a class="el" href="struct_fab_g_l_1_1_r_g_b.html">RGB</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_fab_g_l_1_1_r_g_b-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">FabGL::RGB Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents an <a class="el" href="struct_fab_g_l_1_1_r_g_b.html" title="Represents an RGB color. ">RGB</a> color.  
 <a href="struct_fab_g_l_1_1_r_g_b.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="vgacontroller_8h_source.html">vgacontroller.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ab581633b907adeee44e0f088e849e858"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_fab_g_l_1_1_r_g_b.html#ab581633b907adeee44e0f088e849e858">R</a>: 2</td></tr>
<tr class="separator:ab581633b907adeee44e0f088e849e858"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c607b472c97c3fb63b77bec972927d4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_fab_g_l_1_1_r_g_b.html#a5c607b472c97c3fb63b77bec972927d4">G</a>: 2</td></tr>
<tr class="separator:a5c607b472c97c3fb63b77bec972927d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8353405c18b58f234ddcf8040568783f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_fab_g_l_1_1_r_g_b.html#a8353405c18b58f234ddcf8040568783f">B</a>: 2</td></tr>
<tr class="separator:a8353405c18b58f234ddcf8040568783f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents an <a class="el" href="struct_fab_g_l_1_1_r_g_b.html" title="Represents an RGB color. ">RGB</a> color. </p>
<p>When 1 bit per channel (8 colors) is used then the maximum value (white) is 1 (R = 1, G = 1, B = 1). When 2 bits per channel (64 colors) are used then the maximum value (white) is 3 (R = 3, G = 3, B = 3). </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a8353405c18b58f234ddcf8040568783f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8353405c18b58f234ddcf8040568783f">&#9670;&nbsp;</a></span>B</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t FabGL::RGB::B</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The Blue channel </p>

</div>
</div>
<a id="a5c607b472c97c3fb63b77bec972927d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c607b472c97c3fb63b77bec972927d4">&#9670;&nbsp;</a></span>G</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t FabGL::RGB::G</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The Green channel </p>

</div>
</div>
<a id="ab581633b907adeee44e0f088e849e858"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab581633b907adeee44e0f088e849e858">&#9670;&nbsp;</a></span>R</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t FabGL::RGB::R</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The Red channel </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li><a class="el" href="vgacontroller_8h_source.html">vgacontroller.h</a></li>
<li>vgacontroller.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
